﻿namespace PetAdoptApi.Endpoints;

public static class Endpoint
{
    public static void MapEndpoints(this WebApplication app)
    {
        AuthEndpoint.Map(app.MapGroup("api/auth").WithTags("认证"));
        PetEndpoint.Map(app.MapGroup("api/pet").WithTags("宠物"));
        UserEndpoint.Map(app.MapGroup("api/user").WithTags("用户"));
    }
}